//
//  GTSettingGroup.m
//  GiftTalk
//
//  Created by Wan on 16/4/17.
//  Copyright © 2016年 Wan. All rights reserved.
//

#import "GTSettingGroup.h"

@implementation GTSettingGroup

/**
 *  SettingGroup 的初始化方法
 *
 *  @param items 组元素
 *  @param headerDescription 组头 描述
 *  @param footerDescription 组尾 描述
 *
 *  @return SettingGroup 对象
 */
+ (instancetype)initSettingGroupWithItems:(NSArray *)items titleForHeader:(NSString *)headerDescription titleForFooter:(NSString *)footerDescription {
    GTSettingGroup *group = [[self alloc] init];
    
    group.items = items;
    group.titleForHeader = headerDescription;
    group.titleForFooter = footerDescription;
    
    return group;
}

@end
